#include "tiplist.h"

#include <QPainter>
#include "ktv/model/resource/resource.h"

TipList::TipList(KTV *k, int w, int h, QList<MyItem *> *tips)
    : MyList(k, w, h, tips)
{
    backgroundPixmap = Resource::getInstance()->backgroundPixmap_songList;
}

void TipList::selectCurrentItem()
{

}

void TipList::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
{
    Q_UNUSED(option);
    Q_UNUSED(widget);
    painter->drawPixmap(-width/2, -height/2, width, height, *backgroundPixmap);
}
